#ifndef DATABASE_FIELDSET_H
#define DATABASE_FIELDSET_H
/*

*/

#include "field.h"

#include <map>
#include <string>
#include <vector>


namespace Database
{

class Fieldset
{
public:
	Fieldset();

	void clear();
	unsigned int size() const;
	void add(const char *, const Field&);

private:
	std::map<std::string, unsigned int> fieldNames_;
	std::vector<Field> fields_;
};

}	// namespace Database

#endif

